package com.ruoyi.by.health.mapper;


import com.ruoyi.by.health.domain.entity.ByhealthLotteryOutcome;
import com.ruoyi.by.health.domain.entity.ByhealthPrize;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ByhealthLotteryOutcomeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ByhealthLotteryOutcome record);

    int insertSelective(ByhealthLotteryOutcome record);

    ByhealthLotteryOutcome selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ByhealthLotteryOutcome record);

    int updateByPrimaryKey(ByhealthLotteryOutcome record);

    List<ByhealthLotteryOutcome> getLotteryOutcomeByEmpId(@Param("empId") Long empId);
    List<ByhealthLotteryOutcome> getLotteryOutcomeByRulesId(@Param("rulesId") Long rulesId);

    List<ByhealthLotteryOutcome> selectLotteryOutcomeList(ByhealthLotteryOutcome record);
}